package com.asm.entity.sys;

import com.asm.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhangyufu
 * @description 商圈信息类，继承于BaseEntity类
 * 用于存储商圈信息
 * @data 2019/7/9
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_trade_area")
public class TradeArea extends BaseEntity {

    @Column(name = "trade_area_name", length = 30)
    private String tradeAreaName;

    @Column(name = "trade_area_address")
    private String tradeAreaAddress;

    @Column(name = "prefecture_id")
    private long prefecture;

}
